package com.snatch.snatchmgr.entity.db;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.ConcurrentLinkedQueue;

/**
 * @ClassName: ThirdTradingItem
 * @Description: 第三方交易项类
 * @author lilei
 * @date 2012-6-25 下午04:42:31
 * 
 */
public class ThirdTradingItem {
	//private Logger log = Logger.getLogger(ThirdTradingItem.class);
	private int id;
	private String name;
	private double ratio;// 交易项赔率
	private int ratioType = 0;// 赔率类型 0=香港盘，1=印尼盘，2=马来盘，3=欧盘
	private String target;// 联赛所属第三方: hg:皇冠 sb:沙巴 lj:利记
	private long systemUpdateTime;// 系统更新时间
	private int gametime;// 1 全场 2上半场
	private long changeTime;

	private ThirdMatch thirdMatch;// 所属第三方赛事
	private ThirdPlayinfo thirdPlayinfo;// 所属第三方玩法

	private String  tradeGameCode;// 交易游戏类型 :足球 
	private String tradeGamestatus; // 数据类型 死盘"1", 滚球"2"
	private String selfID;// 第三方数据ID
	private int normalID;// 标准ID
	private int ratioArrow = 0;// 赔率与上次相比改变方向，-1＝变小，1=变大，0＝不变
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getRatio() {
		return ratio;
	}
	public void setRatio(double ratio) {
		this.ratio = ratio;
	}
	public int getRatioType() {
		return ratioType;
	}
	public void setRatioType(int ratioType) {
		this.ratioType = ratioType;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public long getSystemUpdateTime() {
		return systemUpdateTime;
	}
	public void setSystemUpdateTime(long systemUpdateTime) {
		this.systemUpdateTime = systemUpdateTime;
	}
	public int getGametime() {
		return gametime;
	}
	public void setGametime(int gametime) {
		this.gametime = gametime;
	}
	public ThirdMatch getThirdMatch() {
		return thirdMatch;
	}
	public void setThirdMatch(ThirdMatch thirdMatch) {
		this.thirdMatch = thirdMatch;
	}
	public ThirdPlayinfo getThirdPlayinfo() {
		return thirdPlayinfo;
	}
	public void setThirdPlayinfo(ThirdPlayinfo thirdPlayinfo) {
		this.thirdPlayinfo = thirdPlayinfo;
	}
	
	
	public String getTradeGameCode() {
		return tradeGameCode;
	}
	public void setTradeGameCode(String tradeGameCode) {
		this.tradeGameCode = tradeGameCode;
	}
	
	public String getTradeGamestatus() {
		return tradeGamestatus;
	}
	public void setTradeGamestatus(String tradeGamestatus) {
		this.tradeGamestatus = tradeGamestatus;
	}
	public String getSelfID() {
		return selfID;
	}
	public void setSelfID(String selfID) {
		this.selfID = selfID;
	}
	public int getNormalID() {
		return normalID;
	}
	public void setNormalID(int normalID) {
		this.normalID = normalID;
	}
	public int getRatioArrow() {
		return ratioArrow;
	}
	public void setRatioArrow(int ratioArrow) {
		this.ratioArrow = ratioArrow;
	}
	public long getChangeTime() {
		return changeTime;
	}
	public void setChangeTime(long changeTime) {
		this.changeTime = changeTime;
	}

	
}
